package pers.karl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author karl
 * @description: Spring Boot Web应用启动类
 *  若需要打war包放入web容器中运行
 *      1、修改pom.xml的packaging的值为war
 *      2、只需要继承SpringBootServletInitializer即可
 *
 * @create 2019-08-29 20:47
 */
@SpringBootApplication
public class SpringBootWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootWebApplication.class, args);
    }

}
